import java.util.Comparator;


public class GamesWonComparator implements Comparator<Chromosome> {

	public int compare(Chromosome arg0, Chromosome arg1) {
		if(arg0.gamesWon < arg1.gamesWon){
			return -1;
		}
		else if(arg0.gamesWon > arg1.gamesWon){
			return 1;
		}
		else{
			return 0;
		}
	}

}
